// post json 变 formData
export const changeFormData = (json) => {
  var a = Object.keys(json).map(
    function (k) {
      return encodeURIComponent(k) + '=' + encodeURIComponent(json[k])
    }
  ).join('&')

  return a
}
